package asteroids.model.expressions;


/**
 * A subclass of expression (E) that represents all the comparisons
 * 
 * @version 1.0
 * 
 * @author	Thijs Peirelinck & Wouter Parys
 *
 */
public abstract class Comparison extends BinaryExpression{

	public Comparison(E e1, E e2) {
		super(e1, e2);
	}
	
	@Override
	public abstract Boolean getValue();
	
	@Override
	public abstract boolean isValidExpression();
	
	@Override
	public String getReturnType() {
		return "boolean";
	}
	
	@Override
	public abstract String toString();
	
	
}
